<?php /* Smarty version Smarty-3.0.7, created on 2012-06-11 22:28:52
         compiled from "E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot/template/templates\magazine/dm.tpl" */ ?>
<?php /*%%SmartyHeaderCode:325734fd600a43c3a21-58335128%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '63b38ce31f18f02037589833279834dbc51e1791' => 
    array (
      0 => 'E:\\Project\\Company\\dus\\shipinall.cn\\Subversion\\wwwroot/template/templates\\magazine/dm.tpl',
      1 => 1339424927,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '325734fd600a43c3a21-58335128',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
<head>
    <title>杂志期刊-<!--#include virtual='/data/seo/public.title.seo'--></title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="/styles/public.css">
    <link rel="stylesheet" href="/styles/zashi.css">
	<script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="/scripts/apps/magazine/dm.js"></script>
</head>
<body>
    <div id="bg_all">
        <!--#include virtual="/template.inset/public.header.shtml"-->
        <div class="clear10"></div>
        <div class="wrcp clear">
            <div class="zashi_sub "></div>
            <div class="invest_pic clear"><a href="#" target="_blank"><img src="/images/in_pic.gif" alt=""></a></div>
        </div>
        <div class="wrcp clear">
            <div class="main_news">
                <div class="dm_banl">
                    <h2>DM杂志</h2>
                </div>
                <div class="dm_box_list">
                    <div class="dbox ">                    
                    	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('DM')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                        <div class="kn">
                        <b><img src="/images/zashi_dm_ico.gif"  alt=""></b>
                            <h2><?php echo $_smarty_tpl->getVariable('Row')->value['Title'];?>
</h2>
                            <span class="yellf60">发行日期：<?php echo $_smarty_tpl->getVariable('Row')->value['ReleaseDate'];?>
</span></div>
                        <div class="ma"> <img src="<?php echo $_smarty_tpl->getVariable('Row')->value['CoverLocation'];?>
" width="114" height="154" alt="" />
                            <div class="ex">
								<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['name'] = 'customer';
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('Row')->value['Summary']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['customer']['total']);
?>
                                	<li><?php echo $_smarty_tpl->getVariable('Row')->value['Summary'][$_smarty_tpl->getVariable('smarty')->value['section']['customer']['index']];?>
</li>
                                <?php endfor; endif; ?>                                
                            </div>
                            <p><img src="/images/zashi_dm_btn.gif" alt="" border="0" usemap="#Map<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
">
                                <map name="Map<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
">
                                    <area shape="rect" coords="3,0,83,34" href="/exec.php?action=magazine_dm_online&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
">
                                    <area shape="rect" coords="84,-1,162,38" href="/exec.php?action=magazine_dm_download&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
">
                                </map>
                            </p>
                        </div>
                    <?php }} ?>  
                    <div class="pageup">
                    	<?php echo $_smarty_tpl->getVariable('PageMenu')->value;?>

                    </div>
                </div>
            </div>
            <?php $_template = new Smarty_Internal_Template("magazine/public.right.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
        <div class="invest_pic clear"><a href="#" target="_blank"><img src="/images/in_pic.gif" alt=""></a></div>
        <!--#include virtual="/template.inset/public.footer.shtml"-->
        </div>
</body>
</html>